
var option = {
        tooltip : {
            trigger: 'item',
            formatter: "{b}<br/> {c} ({d}%)"
        },
        toolbox: {

        },
        legend:{
        	orient:'vertical',
        	x:'80%',
        	y:'10%',
        	data:['逾期未整改','正在整改','已整改'],
            textStyle:{
            	color:'#fff',
            	 fontSize:14
            }
        },
        grid: {
            top: '8%',
            containLabel: true
        },
        calculable : true,
        series : [
            {
                name:'',
                type:'pie',
                radius:['50%','70%'],
                sort : 'ascending',     // for funnel
                data:[
                    {value:15, name:'逾期未整改'},
                    {value:30, name:'正在整改'},
                    {value:55, name:'已整改'},
                ],
                label: {
                   normal:{
                       formatter:'{b}\n {c} ({d}%)',
                       textStyle:{
                        	fontSize:14
                       }
                       
                   }
                },
                itemStyle:{
                    normal:{
                        color:function(params){
                            var colorList1 = ['#fe2121','#01d2ff','#01ff55']
                            return colorList1[params.dataIndex]
                        },
                    },
                   
                }
            }
        ]
    };

var chart = echarts.init(document.getElementById('company2-chart6'));
chart.setOption(option);